home *** CD-ROM | disk | FTP | other *** search
/ Shareware Super Platinum 8 / Shareware Super Platinum 8.iso / mac / ARCHIVE / CREAT&GO.ZIP;1 / GO.BAT < prev    next >
Encoding:
DOS Batch File  |  1994-05-28  |  1.5 KB  |  48 lines

  1. :* --version 1.01, 1-7-93
  2. :* --written by Don Hancock
  3. :* --9758 Sandridge Drive
  4. :* --Sandy, UT  84092-3035
  5. @ECHO OFF
  6. :* --This Deletes any OLD files left in the \Work1\ subdirectory.
  7. :* --This eliminates any possibility of new files mixing with old.
  8. ECHO.
  9. MD \CREATE\WORK1
  10. :* --Zips up the junk Files, if any, then Deletes that Zip file.
  11. PKZIP -M \CREATE\WORK1\JUNK~~ \CREATE\WORK1\*.*
  12. DEL \CREATE\WORK1\JUNK~~.ZIP
  13. :* --Changes to the storage directory.
  14. CD\CREATE\WORK
  15. :* --Unzips files from the storage area to the \Work1 subdirectory.
  16. PKUNZIP %1 -D \CREATE\WORK1
  17. :* --Changes to the working directory.
  18. CD\CREATE\WORK1
  19. :* --Runs the program (with switches, if needed).
  20. %1 %2
  21. CLS
  22. echo.
  23. echo.
  24. echo.
  25. echo.
  26. echo.
  27. :* --Ask if everything is OK
  28. :* --This gives you a chance to break out and edit or
  29. :* --change some files before they are achived back.
  30. ECHO Did Everything Go O.K.?
  31. ECHO.
  32. echo If not, or if you want to change or edit some files,
  33. echo escape from this batch file by using the {CTRL}+{BREAK} key
  34. echo combination.  Remember to CREATE another archive if you make
  35. echo any changes or they won't be saved.
  36. echo.
  37. echo Did you register or at least send a Thank You Card ?
  38. echo.
  39. PAUSE
  40. CLS
  41. :* --Make sure we're where we want to be.
  42. cd\CREATE\WORK1
  43. :* --Zip & Move (delete) back to storage area, Add changed files (-U)
  44. PKZIP -MU -EX -rp \CREATE\WORK\%1 *.*
  45. :* --Returns to ROOT DIRECTORY (or change the next line to wherever you would like
  46. :* --to be after running program). Delete this line if it's a problem.
  47. CD\
  48.